<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  
  <title>Hexo</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta property="og:type" content="website">
<meta property="og:title" content="Hexo">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Hexo">
<meta property="og:locale" content="en_US">
<meta property="article:author" content="John Doe">
<meta name="twitter:card" content="summary">
  
    <link rel="alternate" href="/atom.xml" title="Hexo" type="application/atom+xml">
  
  
    <link rel="shortcut icon" href="/favicon.png">
  
  
    
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/typeface-source-code-pro@0.0.71/index.min.css">

  
  
<link rel="stylesheet" href="/css/style.css">

  
    
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">

  
<meta name="generator" content="Hexo 5.4.0"></head>

<body>
  <div id="container">
    <div id="wrap">
      <header id="header">
  <div id="banner"></div>
  <div id="header-outer" class="outer">
    <div id="header-title" class="inner">
      <h1 id="logo-wrap">
        <a href="/" id="logo">Hexo</a>
      </h1>
      
    </div>
    <div id="header-inner" class="inner">
      <nav id="main-nav">
        <a id="main-nav-toggle" class="nav-icon"></a>
        
          <a class="main-nav-link" href="/">Home</a>
        
          <a class="main-nav-link" href="/archives">Archives</a>
        
      </nav>
      <nav id="sub-nav">
        
          <a id="nav-rss-link" class="nav-icon" href="/atom.xml" title="RSS Feed"></a>
        
        <a id="nav-search-btn" class="nav-icon" title="Search"></a>
      </nav>
      <div id="search-form-wrap">
        <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" class="search-form-input" placeholder="Search"><button type="submit" class="search-form-submit">&#xF002;</button><input type="hidden" name="sitesearch" value="http://example.com"></form>
      </div>
    </div>
  </div>
</header>

      <div class="outer">
        <section id="main">
  
    <article id="post-MySQL安装" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/11/02/MySQL%E5%AE%89%E8%A3%85/" class="article-date">
  <time class="dt-published" datetime="2021-11-01T16:11:02.000Z" itemprop="datePublished">2021-11-02</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/11/02/MySQL%E5%AE%89%E8%A3%85/">MySQL安装</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h1 id="MySQL安装（5-7-19为例）"><a href="#MySQL安装（5-7-19为例）" class="headerlink" title="MySQL安装（5.7.19为例）"></a>MySQL安装（5.7.19为例）</h1><h2 id="1、下载地址："><a href="#1、下载地址：" class="headerlink" title="1、下载地址："></a>1、下载地址：</h2><p><a target="_blank" rel="noopener" href="https://downloads.mysql.com/archives/installer/">https://downloads.mysql.com/archives/installer/</a></p>
<h2 id="2、开始安装："><a href="#2、开始安装：" class="headerlink" title="2、开始安装："></a>2、开始安装：</h2><p><strong>1.在Product Version中选择自己想要下载的版本</strong></p>
<p><img src="https://pic7.58cdn.com.cn/nowater/webim/big/n_v29654ced4aee54c99bfd9a76b5ddc91f1.png"></p>
<p><strong>2.选择5.7.19的版本</strong></p>
<p><img src="https://pic2.58cdn.com.cn/nowater/webim/big/n_v210353f21a2b14ee5a1630e914b4fea30.png"></p>
<p><strong>3.选择mysql-installer-community-5.7.19.0.msi，点击Download下载</strong></p>
<p><img src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v2ee9d66afcf284ed591a3b0001f444c38.png"></p>
<p><strong>4.双击运行下载好的mysql-installer-community-5.7.19.0.msi，程序运行需要一些时间准备，请等待一下。</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831314-6138-20170722230026215-1797155710.png" alt="img"></p>
<p><strong>5.运行成功之后，进入欢迎的界面，选择我同意协议</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831314-1312-20170722230046043-978659071.png" alt="img"></p>
<p><strong>6.进入类型选择页面，本人需要mysql云服务就选择了developer default（6.1是默认安装的步骤），如果只想安装mysql server的就选择custom模式（6.2步骤是选择自己需要的服务器类型，所选择的用于做一些数据分析）</strong></p>
<ul>
<li>developer default（开发者默认）：安装mysql开发所需的所有产品</li>
<li>server only（服务器）：只安装mysql服务器产品</li>
<li>client only（客户端）：只安装没有服务器的mysql客户端产品</li>
<li>full（完全）：安装所有包含的mysql产品和功能</li>
<li>custom（手动）：手动选择系统上应安装的产品</li>
</ul>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831314-6490-20170722230201246-220989429.png" alt="img"></p>
<p><strong>6.1开发者默认模式检测以下程序会安装不成功，点击下一步进入下一个安装流程—&gt;跳到第7步。</strong></p>
<p>check requirements：以下产品的请求失败，安装程序将自动尝试解决其中一些问题。标记为手动的要求无法自动解决。单击这些项目以尝试手动恢复。</p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831314-6339-20170722230232793-1759462371.png" alt="img"></p>
<p><strong>检测到不可安装的程序说明：</strong></p>
<p>Visual Studio：是一款代码编辑工具（可编写C#、Visual Basic、C++、TypeScript、F# ），如果你安装的话就安装要求去安装Visual Studio version：2012.2013.2015.2017其中一个版本</p>
<p>Connector/pyton 3.4：电脑有python3.6了就没选择3.4版本的。如果你没安装有python可按要求去安装一些内容。</p>
<p><strong>6.2选择mysql server（服务） 5.7.36 x64 ；选择mysql workbench(mysql 的工作薄) 6.3.9 x64</strong></p>
<p>选择mysql notiyier(通知) 1.1.7 x86(因为这里只有一个选择所以选择了86)点击下一步进入下一个安装流程—&gt;跳到第8步。</p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831314-7923-20170722230314340-1501335191.png" alt="img"></p>
<p><strong>7.当我们点击下一步的时候安装程序出现了提示：（一个或者移动产品要求没有得到满足，那些符合要求的产品将不会安装/升级。你想要继续吗），这里我选择的是：YES</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831315-4997-1-20170722230439528-92431868.png" alt="img"></p>
<p><strong>8.在安装所选界面能看到我们接下来所需要安装的程序，点击execute</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831315-6544-20170722230506262-176699446.png" alt="img"></p>
<p><strong>9.安装程序进度界面，安装需要一些时间。点击dide tails能看到安装日志</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831315-4350-20170722230524700-2060141633.png" alt="img"></p>
<p><strong>10.程序安装完成之后，点击next</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831315-5686-20170722230808200-494027333.png" alt="img"></p>
<p><strong>11.在product configutration（产品配置）页面能看到需要配置的程序，点击next（页面英语介绍：现在我们将逐一介绍以下产品的配置向导。您可以随时取消，如果您希望离开此向导，而不必配置所有产品）</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831316-1727-20170722230838934-1132653366.png" alt="img"></p>
<p><strong>12.先配置mysql server的类型以及网络：type and networking（类型和网络），这里有两种mysql server类型，选择第一种类型点击next。</strong></p>
<p>有两种类型简单介绍</p>
<ul>
<li><p>1.standalone mysql server/classic mysql replication：独立的mysql服务器/经典的mysql复制。</p>
<p>choose this option if you want to run the mysql server either standalone with the opportunity to later configure classic mysql replication：选择这个选项，如果你想运行mysql服务器是独立的，有机会以后配置经典的mysql复制</p>
</li>
<li><p>\2. innodb cluster sandbox thst setup(for testing only)：</p>
</li>
</ul>
<p><strong>innodb集群沙箱thst设置（仅用于测试）</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831316-4284-20170722230918575-127114164.png" alt="img"></p>
<p><strong>13.设置服务器配置类型以及连接端口：继续next</strong></p>
<p><strong>Config Type：</strong>选择Development Machine，用于小型以及学习所用足够了。</p>
<p><strong>Port number：</strong>输入3306，也可以输入其他最好是3306-3309之间。</p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831316-1042-20170722231058356-1269244144.png" alt="img"></p>
<p><strong>14.配置root的密码（该密码要记住），系统提示这密码虚弱</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831317-1713-20170722231209903-956653442.png" alt="img"></p>
<p><strong>15.添加其他管理员，点击add user 输入账号密码点击ok（如果添加的管理员只允许在本地登录就将host改成local），回到界面之后点击next</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831317-3908-20170722231228387-1590560639.png" alt="img"></p>
<p><strong>16.配置mysql在windows系统中的名字，是否选择开机启动mysql服务，其它的没进行修改，点击”Next”。</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831317-1586-20170722231608825-2099636815.png" alt="img"></p>
<p><strong>17.配置插件和扩展页面没进行修改直接下一步：</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831317-4097-20170722231638887-180558399.png" alt="img"></p>
<p><strong>18.Mysql server :apply configuration（应用配置页面），选择execute进行安装配置</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831318-8984-20170722231654278-649027984.png" alt="img"></p>
<p><strong>19. mysql server应用配置的log，选择finish</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831318-9740-20170722231714809-1553936235.png" alt="img"></p>
<p><strong>20.安装程序又回到了product configutration（产品配置）页面，此时我们看到mysql server安装成功的显示，继续下一步：</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831318-2164-20170722231738825-1692782858.png" alt="img"></p>
<p><strong>21.配置mysql router：勾选configure mysql route for innoDB cluster之后输入密码。（如果不想输入密码可直接点击点一下）点击下一步</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831318-2952-20170722231755762-1299837152.png" alt="img"></p>
<p><strong>22.Mysql router :apply configuration（应用配置页面）点击execute</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831319-7917-20170722231811528-357673493.png" alt="img"></p>
<p><strong>23.安装完成之后点击选择finish</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831319-7786-20170722231826746-634086390.png" alt="img"></p>
<p><strong>24.检测root密码</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831319-2072-20170722231844528-1242732523.png" alt="img"></p>
<p><strong>25.安装一些server，老规矩点击execute，完成之后点击finish</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831319-9386-20170722231902950-256599456.png" alt="img"></p>
<p><strong>26.程序回到产品配置页面。继续下一步：</strong></p>
<p><strong>27.安装程序完成界面。</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831319-1406-20170722231933637-179722774.png" alt="img"></p>
<p><strong>28.双击运行之前下载的安装包，能看到我们所安装的产品。</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831320-7960-20170722232012418-1876643408.png" alt="img"></p>
<h1 id="配置mysql环境变量"><a href="#配置mysql环境变量" class="headerlink" title="配置mysql环境变量"></a>配置mysql环境变量</h1><p><strong>1.上面安装的是时候我们看到mysql默认安装路径是：C:\Program Files\MySQL\MySQL Server 5.7我的电脑右键—&gt;属性à高级系统设置à环境变量à新建MYSQL_HOME,将安装目录输入：</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831320-7374-41-20170722232031684-1843508.png" alt="img"></p>
<p><strong>找到path编辑：输入%MYSQL_HOME%\bin</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831320-5015-20170722232044090-1304683536.png" alt="img"></p>
<p><strong>打开cmd输入mysql –u root –p</strong></p>
<p><strong>输入root密码</strong></p>
<p><img src="https://www.runoob.com/wp-content/uploads/2019/10/1571831320-6727-20170722232055731-2127042770.png" alt="img"></p>
<p>###由于我已经安装了MySQL 5.7.36，删除MySQL会连同数据库一起删除掉，所以现在看到的MySQL安装教程是我引用了另一个博主的博客。详情可以借鉴博客（原）：<a target="_blank" rel="noopener" href="https://www.cnblogs.com/xiaodingdong/p/7223245.html">https://www.cnblogs.com/xiaodingdong/p/7223245.html</a></p>
<p>[^]: </p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/11/02/MySQL%E5%AE%89%E8%A3%85/" data-id="ckworu9ru00007ow38ueffhj4" data-title="MySQL安装" class="article-share-link">Share</a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/MySQL%E5%AE%89%E8%A3%85/" rel="tag">MySQL安装</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-Tomcat安装" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/11/01/Tomcat%E5%AE%89%E8%A3%85/" class="article-date">
  <time class="dt-published" datetime="2021-11-01T09:39:15.000Z" itemprop="datePublished">2021-11-01</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/11/01/Tomcat%E5%AE%89%E8%A3%85/">tomcat</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <h1 id="tomcat安装教程与tomcat环境变量配置"><a href="#tomcat安装教程与tomcat环境变量配置" class="headerlink" title="tomcat安装教程与tomcat环境变量配置"></a>tomcat安装教程与tomcat环境变量配置</h1><h2 id="1-tomcat介绍"><a href="#1-tomcat介绍" class="headerlink" title="1.tomcat介绍"></a>1.tomcat介绍</h2><p>Tomcat是Apache 软件基金会（Apache Software Foundation）的Jakarta 项目中的一个核心项目，由<a target="_blank" rel="noopener" href="https://baike.baidu.com/item/Apache/6265">Apache</a>、Sun 和其他一些公司及个人共同开发而成。由于有了Sun 的参与和支持，最新的Servlet 和JSP 规范总是能在Tomcat 中得到体现，Tomcat 5支持最新的Servlet 2.4 和JSP 2.0 规范。因为Tomcat 技术先进、性能稳定，而且免费，因而深受Java 爱好者的喜爱并得到了部分软件开发商的认可，成为比较流行的Web 应用服务器。</p>
<p>Tomcat 服务器是一个免费的开放源代码的Web 应用服务器，属于轻量级应用<a target="_blank" rel="noopener" href="https://baike.baidu.com/item/%E6%9C%8D%E5%8A%A1%E5%99%A8">服务器</a>，在中小型系统和并发访问用户不是很多的场合下被普遍使用，是开发和调试JSP 程序的首选。对于一个初学者来说，可以这样认为，当在一台机器上配置好Apache 服务器，可利用它响应<a target="_blank" rel="noopener" href="https://baike.baidu.com/item/HTML">HTML</a>（<a target="_blank" rel="noopener" href="https://baike.baidu.com/item/%E6%A0%87%E5%87%86%E9%80%9A%E7%94%A8%E6%A0%87%E8%AE%B0%E8%AF%AD%E8%A8%80/6805073">标准通用标记语言</a>下的一个应用）页面的访问请求。实际上Tomcat是Apache 服务器的扩展，但运行时它是独立运行的，所以当你运行tomcat 时，它实际上作为一个与Apache 独立的进程单独运行的。</p>
<p>详情介绍可见百度百科：<a target="_blank" rel="noopener" href="https://baike.baidu.com/item/tomcat/255751?fr=aladdin">https://baike.baidu.com/item/tomcat/255751?fr=aladdin</a></p>
<h2 id="2-安装准备"><a href="#2-安装准备" class="headerlink" title="2.安装准备"></a>2.安装准备</h2><p>（1）JDk</p>
<p>（2）window 10</p>
<h2 id="3-tomcat安装（这里我以tomcat-9-0-54-为例-（其一））"><a href="#3-tomcat安装（这里我以tomcat-9-0-54-为例-（其一））" class="headerlink" title="3.tomcat安装（这里我以tomcat 9.0.54 为例 （其一））"></a>3.tomcat安装（这里我以tomcat 9.0.54 为例 （其一））</h2><p>官网下载：<a target="_blank" rel="noopener" href="http://tomcat.apache.org/">http://tomcat.apache.org/</a></p>
<p><img src="https://pic8.58cdn.com.cn/nowater/webim/big/n_v215b96886744d4709a4065d2d797b36fc.png" alt="Tomcat官网"></p>
<p>点击Download后跳转到下面的界面</p>
<p><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v29c80d66f22c0483895fb2078ec234610.png" alt="下载选择"></p>
<p>点击安装包之后选择自己想安装的路径（不建议安装到C盘中)</p>
<p><img src="https://pic5.58cdn.com.cn/nowater/webim/big/n_v2be3fe1245a33426eb622ea35e72ab72c.png"></p>
<p>下载完成后在打开所在文件夹，并将压缩包进行解压（解压后Tomcat就算安装好了，但现在并不能使用，我们还需要配置Tomcat的环境变量）</p>
<p><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v2bafae7317c964479985d03668bed7060.png"></p>
<p>##4.Tomcat安装教程（以tomcat 9.0.54 为例（其二））</p>
<p>官网下载：<a target="_blank" rel="noopener" href="http://tomcat.apache.org/">http://tomcat.apache.org/</a></p>
<p><img src="https://pic8.58cdn.com.cn/nowater/webim/big/n_v215b96886744d4709a4065d2d797b36fc.png"></p>
<p>点击Download后跳转到下面的界面</p>
<p><img src="https://pic8.58cdn.com.cn/nowater/webim/big/n_v2da9151cf918b48fca1c346bf3ba7afc1.png"></p>
<p>进行下载，选择自己的文件路径下载</p>
<p>下载好之后点击安装程序，前面可按照步骤进行傻瓜式安装</p>
<p>!(<a target="_blank" rel="noopener" href="https://pic1.58cdn.com.cn/nowater/webim/big/n_v27e0bf10515104967b90e77525c971101.png">https://pic1.58cdn.com.cn/nowater/webim/big/n_v27e0bf10515104967b90e77525c971101.png</a>)</p>
<p><img src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v2b1f140d92cd440c7a08a174837343953.png"></p>
<p><img src="https://pic8.58cdn.com.cn/nowater/webim/big/n_v2d5a759a9cdd94098a3e6e0f35c7a48f7.png"></p>
<p><img src="https://pic2.58cdn.com.cn/nowater/webim/big/n_v2204b93027adc439dac1f100111fe2608.png"></p>
<p><img src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v27371fa58b15942a3b26721f835c15765.png"></p>
<p>这里需要选择jdk，才可继续安装</p>
<p><img src="https://pic5.58cdn.com.cn/nowater/webim/big/n_v2dc014c9c4e584d2ab7e18433dc7d4c06.png"></p>
<p><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v271a386957a7c40a6bfc65659358e4d35.png"></p>
<p>下载完成后点击Finish即可运行Tomcat</p>
<p><img src="https://pic4.58cdn.com.cn/nowater/webim/big/n_v261e0535a77fd45bb955e074f3870b74e.png"></p>
<p>运行结果如图</p>
<p><img src="https://pic5.58cdn.com.cn/nowater/webim/big/n_v29f8a45fad160421897eb42a08d588f97.png"></p>
<h1 id="Tomcat环境变量设置"><a href="#Tomcat环境变量设置" class="headerlink" title="Tomcat环境变量设置"></a>Tomcat环境变量设置</h1><p>右键电脑选择属性</p>
<p><img src="https://pic2.58cdn.com.cn/nowater/webim/big/n_v21011f8f4d648419390bcc39537232700.png"></p>
<p>win10用户选择右边栏中的高级系统设置后在选择环境变量在系统变量中新建变量，</p>
<p>变量名为：<strong>CATALINA_HOME</strong>    </p>
<p>变量值为：<strong>tomcat中bin文件所在的路径</strong></p>
<p><img src="https://pic5.58cdn.com.cn/nowater/webim/big/n_v2189972c4b63a465b819f13d9fbfbd9c9.png"></p>
<p>环境变量配置好后，打开tomcat的bin文件<img src="https://pic7.58cdn.com.cn/nowater/webim/big/n_v287a028bdadb543abaa31f535de09407f.png"></p>
<p>选择startup.bat点击运行</p>
<p><img src="https://pic6.58cdn.com.cn/nowater/webim/big/n_v25b18bdf02f6f44d484cd6f7c80ec412c.png"></p>
<p>运行成功后是如下情况（乱码情况可以不用去管）</p>
<p><img src="https://pic8.58cdn.com.cn/nowater/webim/big/n_v2ec0baa4d66ee472d86bb2d7aec694591.png"></p>
<p>随后可以在浏览器中打开 http：//localhost:8080 效果为下图所示</p>
<p><img src="https://pic3.58cdn.com.cn/nowater/webim/big/n_v2cbefbd21a8f64a939c3f8423d48e57ee.png"></p>
<p>实现此效果图Tomcat既为安装完成。</p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/11/01/Tomcat%E5%AE%89%E8%A3%85/" data-id="ckworu9s600017ow36p611x2w" data-title="tomcat" class="article-share-link">Share</a>
      
      
      
  <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/tomcat/" rel="tag">tomcat</a></li></ul>

    </footer>
  </div>
  
</article>



  
    <article id="post-hello-world" class="h-entry article article-type-post" itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
  <div class="article-meta">
    <a href="/2021/10/29/hello-world/" class="article-date">
  <time class="dt-published" datetime="2021-10-29T04:17:46.055Z" itemprop="datePublished">2021-10-29</time>
</a>
    
  </div>
  <div class="article-inner">
    
    
      <header class="article-header">
        
  
    <h1 itemprop="name">
      <a class="p-name article-title" href="/2021/10/29/hello-world/">Hello World</a>
    </h1>
  

      </header>
    
    <div class="e-content article-entry" itemprop="articleBody">
      
        <p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>

      
    </div>
    <footer class="article-footer">
      <a data-url="http://example.com/2021/10/29/hello-world/" data-id="ckworu9sa00037ow31vv903my" data-title="Hello World" class="article-share-link">Share</a>
      
      
      
    </footer>
  </div>
  
</article>



  


</section>
        
          <aside id="sidebar">
  
    

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tags</h3>
    <div class="widget">
      <ul class="tag-list" itemprop="keywords"><li class="tag-list-item"><a class="tag-list-link" href="/tags/MySQL%E5%AE%89%E8%A3%85/" rel="tag">MySQL安装</a></li><li class="tag-list-item"><a class="tag-list-link" href="/tags/tomcat/" rel="tag">tomcat</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Tag Cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/MySQL%E5%AE%89%E8%A3%85/" style="font-size: 10px;">MySQL安装</a> <a href="/tags/tomcat/" style="font-size: 10px;">tomcat</a>
    </div>
  </div>

  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/11/">November 2021</a></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2021/10/">October 2021</a></li></ul>
    </div>
  </div>


  
    
  <div class="widget-wrap">
    <h3 class="widget-title">Recent Posts</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="/2021/11/02/MySQL%E5%AE%89%E8%A3%85/">MySQL安装</a>
          </li>
        
          <li>
            <a href="/2021/11/01/Tomcat%E5%AE%89%E8%A3%85/">tomcat</a>
          </li>
        
          <li>
            <a href="/2021/10/29/hello-world/">Hello World</a>
          </li>
        
      </ul>
    </div>
  </div>

  
</aside>
        
      </div>
      <footer id="footer">
  
  <div class="outer">
    <div id="footer-info" class="inner">
      
      &copy; 2021 John Doe<br>
      Powered by <a href="https://hexo.io/" target="_blank">Hexo</a>
    </div>
  </div>
</footer>

    </div>
    <nav id="mobile-nav">
  
    <a href="/" class="mobile-nav-link">Home</a>
  
    <a href="/archives" class="mobile-nav-link">Archives</a>
  
</nav>
    


<script src="/js/jquery-3.4.1.min.js"></script>



  
<script src="/fancybox/jquery.fancybox.min.js"></script>




<script src="/js/script.js"></script>





  </div>
</body>
</html>